|
Repetier-Firmware
1.0.0
|
#include "pins.h"Go to the source code of this file.
| #define ACCELERATION_FACTOR_TOP 100 |
| #define ACK_WITH_LINENUMBER 1 |
Appends the line number after every ok send, to acknowledge the received command. Uncomment for plain ok ACK if your host has problems with this
| #define ADC_KEYPAD_PIN -1 |
| #define ALLOW_QUADSTEPPING 1 |
If you need frequencies off more then 30000 you definitely need to enable this. If you have only 1/8 stepping enabling this may cause to stall your moves when 20000Hz is reached.
| #define ALWAYS_CHECK_ENDSTOPS 1 |
| #define ARC_SUPPORT 1 |
| #define AUTORETRACT_ENABLED 0 |
auto-retract converts pure extrusion moves into retractions. Beware that simple extrusion e.g. over Repetier-Host will then not work!
| #define AXIS_STEPS_PER_MM ((float)(MICRO_STEPS * STEPS_PER_ROTATION) / PULLEY_CIRCUMFERENCE) |
| #define AXISCOMP_TANXY 0 |
| #define AXISCOMP_TANXZ 0 |
| #define AXISCOMP_TANYZ 0 |
| #define BABYSTEP_MULTIPLICATOR 1 |
| #define BAUDRATE 115200 |
Communication speed.
38600
Overridden if EEPROM activated.
| #define BED_CORRECTION_METHOD 0 |
| #define BED_LEVELING_GRID_SIZE 4 |
| #define BED_LEVELING_METHOD 0 |
| #define BED_LEVELING_REPETITIONS 5 |
| #define BED_MOTOR_1_X 0 |
| #define BED_MOTOR_1_Y 0 |
| #define BED_MOTOR_2_X 200 |
| #define BED_MOTOR_2_Y 0 |
| #define BED_MOTOR_3_X 100 |
| #define BED_MOTOR_3_Y 200 |
| #define BEEPER_LONG_SEQUENCE 8,8 |
| #define BEEPER_SHORT_SEQUENCE 2,2 |
Beeper sound definitions for short beeps during key actions and longer beeps for important actions. Parameter is delay in microseconds and the second is the number of repetitions. Values must be in range 1..255
| #define BELT_PITCH 2 |
Pitch in mm of drive belt. GT2 = 2mm.
| #define BENDING_CORRECTION_A 0 |
| #define BENDING_CORRECTION_B 0 |
| #define BENDING_CORRECTION_C 0 |
| #define BLUETOOTH_BAUD 115200 |
| #define BLUETOOTH_SERIAL 1 |
| #define BOARD_FAN_MIN_SPEED 0 |
| #define BOARD_FAN_SPEED 255 |
Speed of board fan when on. 0 = off, 255 = max
| #define CARRIAGE_HORIZONTAL_OFFSET 0 |
Horizontal offset of the universal joints on the vertical carriages.
| #define CASE_LIGHT_DEFAULT_ON 1 |
| #define CASE_LIGHTS_PIN -1 |
| #define CNC_DIRECTION_CW 1 |
| #define CNC_DIRECTION_PIN -1 |
| #define CNC_ENABLE_PIN -1 |
| #define CNC_ENABLE_WITH 1 |
| #define CNC_PWM_MAX 255 |
| #define CNC_RPM_MAX 25000 |
| #define CNC_SAFE_Z 150 |
| #define CNC_WAIT_ON_DISABLE 0 |
| #define CNC_WAIT_ON_ENABLE 300 |
| #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20 |
| #define DECOUPLING_TEST_MIN_TEMP_RISE 1 |
| #define DEFAULT_PRINTER_MODE PRINTER_MODE_FFF |
| #define DELTA_ALPHA_A 210 |
column positions - change only to correct build imperfections!
| #define DELTA_ALPHA_B 330 |
| #define DELTA_ALPHA_C 90 |
| #define DELTA_DIAGONAL_CORRECTION_A 0 |
Correction of the default diagonal size. Value gets added.
| #define DELTA_DIAGONAL_CORRECTION_B 0 |
| #define DELTA_DIAGONAL_CORRECTION_C 0 |
| #define DELTA_DIAGONAL_ROD 345 |
Delta rod length (mm)
| #define DELTA_DIAGONAL_ROD 240 |
Delta rod length (mm)
| #define DELTA_DRIVE_TYPE 0 |
Delta drive type: 0 - belts and pulleys, 1 - filament drive.
Drive settings for the Delta printers
| #define DELTA_FLOOR_SAFETY_MARGIN_MM 15 |
| #define DELTA_HOME_ON_POWER 0 |
When true the delta will home to z max when reset/powered over cord. That way you start with well defined coordinates. If you don't do it, make sure to home first before your first move.
| #define DELTA_MAX_RADIUS 200 |
Max. radius (mm) the printer should be able to reach.
| #define DELTA_RADIUS_CORRECTION_A 0 |
Correct radius by this value for each column. Perfect builds have 0 everywhere.
| #define DELTA_RADIUS_CORRECTION_B 0 |
| #define DELTA_RADIUS_CORRECTION_C 0 |
| #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 |
| #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 |
Number of segments to generate for delta conversions per second of move.
| #define DELTA_X_ENDSTOP_OFFSET_STEPS 0 |
To allow software correction of misaligned endstops, you can set the correction in steps here. If you have EEPROM enabled you can also change the values online and autoleveling will store the results here.
| #define DELTA_Y_ENDSTOP_OFFSET_STEPS 0 |
| #define DELTA_Z_ENDSTOP_OFFSET_STEPS 0 |
| #define DELTASEGMENTS_PER_PRINTLINE 22 |
Number of delta moves in each line. Moves that exceed this figure will be split into multiple lines. Increasing this figure can use a lot of memory since 7 bytes * size of line buffer * MAX_SELTA_SEGMENTS_PER_LINE will be allocated for the delta buffer. PrintLine PrintLine::lines[PRINTLINE_CACHE_SIZE (default 16?)]; Printline is about 200 bytes + 7 * DELTASEGMENTS_PER_PRINTLINE or 16 * (200 + (7*22=154) = 354) = 5664 bytes! !1 min is 5 * (200 + (7*10=70) =270) = 1350 This leaves ~1K free RAM on an Arduino which has only 8k Mega. Used only for nonlinear systems like delta or tuga.
| #define DIRECTION_DELAY 0 |
If your driver needs some additional delay between setting direction and first step signal, you can set this here. There are some commands between direction and signal, but some drivers might be even slower or you are using a fast Arduino board with slow driver. Normally 0 works. If you get skewed print, you might try 1 microsecond here.
| #define DISABLE_E false |
| #define DISABLE_X false |
| #define DISABLE_Y false |
| #define DISABLE_Z false |
| #define DISTORTION_CORRECTION 1 |
| #define DISTORTION_CORRECTION_POINTS 5 |
| #define DISTORTION_CORRECTION_R 80 |
| #define DISTORTION_END_HEIGHT 1.5 |
z distortion correction gets down to 0 at this height.
| #define DISTORTION_EXTRAPOLATE_CORNERS 0 |
If your corners measurement points are not measurable with given radius, you can set this to 1. It then omits the outer measurement points allowing a larger correction area.
| #define DISTORTION_LIMIT_TO 2 |
Max. distortion value to enter. Used to prevent dangerous errors with big values.
| #define DISTORTION_PERMANENT 1 |
| #define DISTORTION_START_DEGRADE 0.5 |
z distortion degrades to 0 from this height on. You should start after the first layer to get best bonding with surface.
| #define DISTORTION_UPDATE_FREQUENCY 15 |
Correction computation is not a cheap operation and changes are only small. So it is not necessary to update it for every sub-line computed. For example lets take DELTA_SEGMENTS_PER_SECOND_PRINT = 150 and fastest print speed 100 mm/s. So we have a maximum segment length of 100/150 = 0.66 mm. Now lats say our point field is 200 x 200 mm with 9 x 9 points. So between 2 points we have 200 / (9-1) = 25 mm. So we need at least 25 / 0.66 = 37 lines to move to the next measuring point. So updating correction every 15 calls gives us at least 2 updates between the measured points. NOTE: Explicit z changes will always trigger an update!
| #define DISTORTION_XMAX 190 |
| #define DISTORTION_XMIN 10 |
| #define DISTORTION_YMAX 190 |
| #define DISTORTION_YMIN 10 |
| #define DOOR_INVERTING 1 |
| #define DOOR_PIN -1 |
The door pin is to detect a door opening. This will prevent new command from serial or sd card getting executed. It will not stop immediately. Instead it lets the move buffer run empty so closing the door allows continuing the print. The exact behavior might change in the future.
| #define DOOR_PULLUP 1 |
| #define DOUBLE_STEP_DELAY 0 |
If you reach STEP_DOUBLER_FREQUENCY the firmware will do 2 or 4 steps with nearly no delay. That can be too fast for some printers causing an early stall.
| #define DRIVE_SYSTEM 0 |
| #define DUAL_X_AXIS 0 |
| #define DUAL_X_RESOLUTION 0 |
| #define ECHO_ON_EXECUTE 1 |
Sets time for echo debug.
You can set M111 1 which enables ECHO of commands sent. This define specifies the position, when it will be executed. In the original FiveD software, echo is done after receiving the command. With checksum you know, how it looks from the sending string. With this define uncommented, you will see the last command executed. To be more specific: It is written after execution. This helps tracking errors, because there may be 8 or more commands in the queue and it is elsewise difficult to know, what your reprap is currently doing.
| #define EEPROM_MODE 2 |
EEPROM storage mode.
Set the EEPROM_MODE to 0 if you always want to use the settings in this configuration file. If not, set it to a value not stored in the first EEPROM-byte used. If you later want to overwrite your current EEPROM settings with configuration defaults, just select an other value. On the first call to epr_init() it will detect a mismatch of the first byte and copy default values into EEPROM. If the first byte matches, the stored values are used to overwrite the settings.
IMPORTANT: With mode <>0 some changes in Configuration.h are not set any more, as they are taken from the EEPROM.
| #define ENABLE_BACKLASH_COMPENSATION 0 |
| #define ENABLE_POWER_ON_STARTUP 1 |
Some boards like Gen7 have a power on pin, to enable the ATX power supply. If this is defined, the power will be turned on without the need to call M80 if initially started.
| #define ENABLE_QUADRATIC_ADVANCE 0 |
enables quadratic component.
Set 1 to allow, 0 disallow a quadratic advance dependency. Linear is the dominant value, so no real need to activate the quadratic term. Only adds lots of computations and storage usage.
| #define END_EFFECTOR_HORIZONTAL_OFFSET 0 |
Horizontal offset of the universal joints on the end effector (moving platform).
| #define ENDSTOP_PULLUP_X_MAX true |
| #define ENDSTOP_PULLUP_X_MIN false |
| #define ENDSTOP_PULLUP_Y_MAX true |
| #define ENDSTOP_PULLUP_Y_MIN false |
| #define ENDSTOP_PULLUP_Z_MAX false |
| #define ENDSTOP_PULLUP_Z_MIN false |
| #define ENDSTOP_X_BACK_MOVE 5 |
| #define ENDSTOP_X_BACK_ON_HOME 1 |
| #define ENDSTOP_X_MAX_INVERTING false |
| #define ENDSTOP_X_MIN_INVERTING true |
| #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 2 |
| #define ENDSTOP_Y_BACK_MOVE 5 |
| #define ENDSTOP_Y_BACK_ON_HOME 1 |
| #define ENDSTOP_Y_MAX_INVERTING false |
| #define ENDSTOP_Y_MIN_INVERTING true |
| #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 2 |
| #define ENDSTOP_Z_BACK_MOVE 2 |
| #define ENDSTOP_Z_BACK_ON_HOME 0 |
| #define ENDSTOP_Z_MAX_INVERTING true |
| #define ENDSTOP_Z_MIN_INVERTING true |
| #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 2 |
| #define EXACT_DELTA_MOVES 1 |
1 for more precise delta moves. 0 for faster computation. Needs a bit more computation time.
| #define EXT0_ADVANCE_BACKLASH_STEPS 0 |
| #define EXT0_ADVANCE_K 0.0f |
Faktor for the advance algorithm. 0 disables the algorithm. Overridden if EEPROM activated. K is the factor for the quadratic term, which is normally disabled in newer versions. If you want to use the quadratic factor make sure ENABLE_QUADRATIC_ADVANCE is defined. L is the linear factor and seems to be working better then the quadratic dependency.
| #define EXT0_ADVANCE_L 0.0f |
| #define EXT0_DECOUPLE_TEST_PERIOD 18000 |
Time in ms between a heater action and test of success. Must be more then time between turning heater on and first temp. rise! 0 will disable decoupling test
| #define EXT0_DESELECT_COMMANDS "" |
| #define EXT0_DIR2_PIN E0_DIR_PIN |
| #define EXT0_DIR_PIN E0_DIR_PIN |
| #define EXT0_ENABLE2_PIN E0_ENABLE_PIN |
| #define EXT0_ENABLE_ON 0 |
| #define EXT0_ENABLE_PIN E0_ENABLE_PIN |
| #define EXT0_EXTRUDER_COOLER_PIN -1 |
The extruder cooler is a fan to cool the extruder when it is heating. If you turn the extruder on, the fan goes on.
| #define EXT0_EXTRUDER_COOLER_SPEED 255 |
PWM speed for the cooler fan. 0=off 255=full speed
| #define EXT0_HEAT_MANAGER 1 |
Type of heat manager for this extruder.
| #define EXT0_HEATER_PIN HEATER_0_PIN |
| #define EXT0_INVERSE true |
| #define EXT0_INVERSE2 false |
| #define EXT0_JAM_PIN -1 |
Pin which toggles regularly during extrusion allowing jam control. -1 = disabled
| #define EXT0_JAM_PULLUP false |
Pull-up resistor for jam pin?
| #define EXT0_MAX_ACCELERATION 4000 |
| #define EXT0_MAX_FEEDRATE 30 |
| #define EXT0_MAX_START_FEEDRATE 10 |
| #define EXT0_MIRROR_STEPPER 0 |
| #define EXT0_PID_D 80 |
Dgain. Overridden if EEPROM activated.
| #define EXT0_PID_I 0.88 |
I-gain. Overridden if EEPROM activated.
| #define EXT0_PID_INTEGRAL_DRIVE_MAX 140 |
The maximum value, I-gain can contribute to the output.
A good value is slightly higher then the output needed for your temperature. Values for starts: 130 => PLA for temperatures from 170-180 deg C 180 => ABS for temperatures around 240 deg C
The precise values may differ for different nozzle/resistor combination. Overridden if EEPROM activated.
| #define EXT0_PID_INTEGRAL_DRIVE_MIN 60 |
lower value for integral part
The I state should converge to the exact heater output needed for the target temperature. To prevent a long deviation from the target zone, this value limits the lower value. A good start is 30 lower then the optimal value. You need to leave room for cooling. Overridden if EEPROM activated.
| #define EXT0_PID_MAX 255 |
| #define EXT0_PID_PGAIN_OR_DEAD_TIME 24 |
P-gain. Overridden if EEPROM activated.
| #define EXT0_PREHEAT_TEMP 190 |
| #define EXT0_SELECT_COMMANDS "M117 Extruder 1" |
You can run any GCODE command on extruder deselect/select. Separate multiple commands with a new line
. That way you can execute some mechanical components needed for extruder selection or retract filament or whatever you need. The codes are only executed for multiple extruder when changing the extruder.
| #define EXT0_STEP2_PIN E0_STEP_PIN |
| #define EXT0_STEP_PIN E0_STEP_PIN |
| #define EXT0_STEPS_PER_MM 413 |
| #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN |
| #define EXT0_TEMPSENSOR_TYPE 1 |
| #define EXT0_WAIT_RETRACT_TEMP 150 |
Temperature to retract filament when extruder is heating up. Overridden if EEPROM activated.
| #define EXT0_WAIT_RETRACT_UNITS 0 |
Units (mm/inches) to retract filament when extruder is heating up. Overridden if EEPROM activated. Set to 0 to disable.
| #define EXT0_WATCHPERIOD 1 |
Wait x seconds, after reaching target temperature. Only used for M109. Overridden if EEPROM activated.
| #define EXT0_X_OFFSET 0 |
| #define EXT0_Y_OFFSET 0 |
| #define EXT0_Z_OFFSET 0 |
| #define EXT1_ADVANCE_BACKLASH_STEPS 0 |
| #define EXT1_ADVANCE_K 0.0f |
Faktor for the advance algorithm. 0 disables the algorithm. Overridden if EEPROM activated. K is the factor for the quadratic term, which is normally disabled in newer versions. If you want to use the quadratic factor make sure ENABLE_QUADRATIC_ADVANCE is defined. L is the linear factor and seems to be working better then the quadratic dependency.
| #define EXT1_ADVANCE_L 0.0f |
| #define EXT1_DECOUPLE_TEST_PERIOD 18000 |
Time in ms between a heater action and test of success. Must be more then time between turning heater on and first temp. rise! 0 will disable decoupling test
| #define EXT1_DESELECT_COMMANDS "" |
| #define EXT1_DIR2_PIN E0_DIR_PIN |
| #define EXT1_DIR_PIN E1_DIR_PIN |
| #define EXT1_ENABLE2_PIN E0_ENABLE_PIN |
| #define EXT1_ENABLE_ON false |
| #define EXT1_ENABLE_PIN E1_ENABLE_PIN |
| #define EXT1_EXTRUDER_COOLER_PIN -1 |
The extruder cooler is a fan to cool the extruder when it is heating. If you turn the etxruder on, the fan goes on.
| #define EXT1_EXTRUDER_COOLER_SPEED 255 |
PWM speed for the cooler fan. 0=off 255=full speed
| #define EXT1_HEAT_MANAGER 1 |
Type of heat manager for this extruder.
| #define EXT1_HEATER_PIN HEATER_2_PIN |
| #define EXT1_INVERSE false |
| #define EXT1_INVERSE2 false |
| #define EXT1_JAM_PIN -1 |
Pin which toggles regularly during extrusion allowing jam control. -1 = disabled
| #define EXT1_JAM_PULLUP false |
Pull-up resistor for jam pin?
| #define EXT1_MAX_ACCELERATION 10000 |
| #define EXT1_MAX_FEEDRATE 25 |
| #define EXT1_MAX_START_FEEDRATE 12 |
| #define EXT1_MIRROR_STEPPER 0 |
| #define EXT1_PID_D 200 |
D-gain. Overridden if EEPROM activated.
| #define EXT1_PID_I 0.88 |
I-gain. Overridden if EEPROM activated.
| #define EXT1_PID_INTEGRAL_DRIVE_MAX 130 |
The maximum value, I-gain can contribute to the output.
A good value is slightly higher then the output needed for your temperature. Values for starts: 130 => PLA for temperatures from 170-180 deg C 180 => ABS for temperatures around 240 deg C
The precise values may differ for different nozzle/resistor combination. Overridden if EEPROM activated.
| #define EXT1_PID_INTEGRAL_DRIVE_MIN 60 |
lower value for integral part
The I state should converge to the exact heater output needed for the target temperature. To prevent a long deviation from the target zone, this value limits the lower value. A good start is 30 lower then the optimal value. You need to leave room for cooling. Overridden if EEPROM activated.
| #define EXT1_PID_MAX 255 |
| #define EXT1_PID_PGAIN_OR_DEAD_TIME 24 |
P-gain. Overridden if EEPROM activated.
| #define EXT1_PREHEAT_TEMP 190 |
| #define EXT1_SELECT_COMMANDS "M117 Extruder 2" |
| #define EXT1_STEP2_PIN E0_STEP_PIN |
| #define EXT1_STEP_PIN E1_STEP_PIN |
| #define EXT1_STEPS_PER_MM 373 |
| #define EXT1_TEMPSENSOR_PIN TEMP_2_PIN |
| #define EXT1_TEMPSENSOR_TYPE 3 |
| #define EXT1_WAIT_RETRACT_TEMP 150 |
| #define EXT1_WAIT_RETRACT_UNITS 0 |
| #define EXT1_WATCHPERIOD 1 |
Wait x seconds, after reaching target temperature. Only used for M109. Overridden if EEPROM activated.
| #define EXT1_X_OFFSET 0 |
| #define EXT1_Y_OFFSET 0 |
| #define EXT1_Z_OFFSET 0 |
| #define EXTRUDE_MAXLENGTH 100 |
Prevent extrusions longer then x mm for one command. This is especially important if you abort a print. Then the extrusion position might be at any value like 23344. If you then have an G1 E-2 it will roll back 23 meter!
| #define EXTRUDER_FAN_COOL_TEMP 50 |
| #define EXTRUDER_IS_Z_PROBE 0 |
| #define EXTRUDER_SWITCH_XY_SPEED 100 |
| #define FAN_KICKSTART_TIME 200 |
Some fans won't start for low values, but would run if started with higher power at the beginning. This defines the full power duration before returning to set value. Time is in milliseconds
| #define FAN_THERMO_MAX_PWM 255 |
| #define FAN_THERMO_MAX_TEMP 60 |
| #define FAN_THERMO_MIN_PWM 128 |
| #define FAN_THERMO_MIN_TEMP 45 |
| #define FAN_THERMO_PIN -1 |
| #define FAN_THERMO_THERMISTOR_PIN -1 |
| #define FAN_THERMO_THERMISTOR_TYPE 1 |
| #define FEATURE_AUTOLEVEL 0 |
| #define FEATURE_AXISCOMP 0 |
| #define FEATURE_BABYSTEPPING 0 |
| #define FEATURE_BEEPER 1 |
| #define FEATURE_CHECKSUM_FORCED 0 |
If a checksum is sent, all future commands must also contain a checksum. Increases reliability especially for binary protocol.
| #define FEATURE_CONTROLLER NO_CONTROLLER |
For displays and keys there are too many permutations to handle them all in once. For the most common available combinations you can set the controller type here, so you don't need to configure uicong.h at all. Controller settings > 1 disable usage of uiconfig.h
0 or NO_CONTROLLER = no display 1 or UICONFIG_CONTROLLER = Manual definition of display and keys parameter in uiconfig.h
The following settings override uiconfig.h! 2 or CONTROLLER_SMARTRAMPS = Smartcontroller from reprapdiscount on a RAMPS or RUMBA board 3 or CONTROLLER_ADAFRUIT = Adafruit RGB controller 4 or CONTROLLER_FOLTYN = Foltyn 3DMaster with display attached 5 or CONTROLLER_VIKI = ViKi LCD - Check pin configuration in ui.h for feature controller 5!!! sd card disabled by default! 6 or CONTROLLER_MEGATRONIC = ReprapWorld Keypad / LCD, predefined pins for Megatronics v2.0 and RAMPS 1.4. Please check if you have used the defined pin layout in ui.h. 7 or CONTROLLER_RADDS = RADDS Extension Port 8 or CONTROLLER_PIBOT20X4 = PiBot Display/Controller extension with 20x4 character display 9 or CONTROLLER_PIBOT16X2 = PiBot Display/Controller extension with 16x2 character display 10 or CONTROLLER_GADGETS3D_SHIELD = Gadgets3D shield on RAMPS 1.4, see http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel 11 or CONTROLLER_REPRAPDISCOUNT_GLCD = RepRapDiscount Full Graphic Smart Controller 12 or CONTROLLER_FELIX = FELIXPrinters Controller 13 or CONTROLLER_RAMBO = SeeMeCNC Display on Rambo (ORION) 14 or CONTROLLER_OPENHARDWARE_LCD2004 = OpenHardware.co.za LCD2004 V2014 15 or CONTROLLER_SANGUINOLOLU_PANELOLU2 = Sanguinololu + Panelolu2 16 or CONTROLLER_GAMEDUINO2 (in development) 17 or CONTROLLER_MIREGLI 17 18 or CONTROLLER_GATE_3NOVATICA Gate Controller from 3Novatica 21 or CONTROLLER_VIKI2 Panucatt VIKI2 graphic lcd 24 or CONTROLLER_ZONESTAR = Zonestar P802M with LCD 20x4 and 5 ADC button keypad 25 or CONTROLLER_ORCABOTXXLPRO2 26 or CONTROLLER_AZSMZ_12864 405 or CONTROLLER_FELIX_DUE Felix LCD für due based board 27 or CONTROLLER_REPRAPWORLD_GLCD = ReprapWorld Graphical LCD
| #define FEATURE_DITTO_PRINTING 0 |
| #define FEATURE_FAN2_CONTROL 0 |
| #define FEATURE_FAN_CONTROL 1 |
Should support for fan control be compiled in. If you enable this make sure the FAN pin is not the same as for your second extruder. RAMPS e.g. has FAN_PIN in 9 which is also used for the heater if you have 2 extruders connected.
| #define FEATURE_FOUR_ZSTEPPER 0 |
| #define FEATURE_JSON 0 |
Adds support for ESP8266 Duet web interface, PanelDue and probably some other things. This essentially adds command M36/M408 and extends M20. Since it requires some memory do not enable it unless you have such a display!
| #define FEATURE_MEMORY_POSITION 1 |
You can store the current position with M401 and go back to it with M402. This works only if feature is set to true.
| #define FEATURE_RETRACTION 1 |
Allow retraction with G10/G11 removing requirement for retraction setting in slicer. Also allows filament change if lcd is configured.
| #define FEATURE_SERVO 0 |
| #define FEATURE_SOFTWARE_LEVELING 0 |
Experimental calibration utility for delta printers Change 1 to 0 to disable.
| #define FEATURE_THREE_ZSTEPPER 0 |
| #define FEATURE_TWO_XSTEPPER 0 |
| #define FEATURE_TWO_YSTEPPER 0 |
| #define FEATURE_TWO_ZSTEPPER 0 |
| #define FEATURE_UI_KEYS 0 |
| #define FEATURE_WATCHDOG 1 |
| #define FEATURE_Z_PROBE 1 |
| #define FILAMENTCHANGE_LONGRETRACT 30 |
| #define FILAMENTCHANGE_REHOME 1 |
Does a homing procedure after a filament change. This is good in case you moved the extruder while changing filament during print. 0 = no homing, 1 = xy homing, 2 = xyz homing
| #define FILAMENTCHANGE_SHORTRETRACT 30 |
Will first retract short distance, go to change position and then retract longretract. Retractions speeds are taken from RETRACTION_SPEED and RETRACTION_UNDO_SPEED
| #define FILAMENTCHANGE_X_POS 0 |
If you have a lcd display, you can do a filament switch with M600. It will change the current extruders filament and temperature must already be high enough.
| #define FILAMENTCHANGE_Y_POS 0 |
| #define FILAMENTCHANGE_Z_ADD 1 |
| #define GENERIC_THERM1_BETA 4036 |
Beta value of thermistor
You can use the beta from the datasheet or compute it yourself. See http://reprap.org/wiki/MeasuringThermistorBeta for more details.
| #define GENERIC_THERM1_MAX_TEMP 300 |
End Temperature for generated thermistor table
| #define GENERIC_THERM1_MIN_TEMP -20 |
Start temperature for generated thermistor table
| #define GENERIC_THERM1_R0 100000 |
Resistance at reference temperature
| #define GENERIC_THERM1_R1 0 |
| #define GENERIC_THERM1_R2 4700 |
| #define GENERIC_THERM1_T0 25 |
If defined, creates a thermistor table at startup.
If you don't feel like computing the table on your own, you can use this generic method. It is a simple approximation which may be not as accurate as a good table computed from the reference values in the datasheet. You can increase precision if you use a temperature/resistance for R0/T0, which is near your operating temperature. This will reduce precision for lower temperatures, which are not really important. The resistors must fit the following schematic:
If you don't have R1, set it to 0. The capacitor is for reducing noise from long thermistor cable. If you don't have one, it's OK.
If you need the generic table, uncomment the following define.Reference Temperature
| #define GENERIC_THERM2_BETA 4036 |
| #define GENERIC_THERM2_MAX_TEMP 300 |
| #define GENERIC_THERM2_MIN_TEMP -20 |
| #define GENERIC_THERM2_R0 1042.7 |
| #define GENERIC_THERM2_R1 0 |
| #define GENERIC_THERM2_R2 4700 |
| #define GENERIC_THERM2_T0 170 |
| #define GENERIC_THERM3_BETA 4036 |
| #define GENERIC_THERM3_MAX_TEMP 300 |
| #define GENERIC_THERM3_MIN_TEMP -20 |
| #define GENERIC_THERM3_R0 1042.7 |
| #define GENERIC_THERM3_R1 0 |
| #define GENERIC_THERM3_R2 4700 |
| #define GENERIC_THERM3_T0 170 |
| #define GENERIC_THERM_NUM_ENTRIES 33 |
Number of entries in generated table. One entry takes 4 bytes. Higher number of entries increase computation time too. Value is used for all generic tables created.
| #define GENERIC_THERM_VREF 5 |
Supply voltage to ADC, can be changed by setting ANALOG_REF below to different value.
| #define HAVE_HEATED_BED 1 |
Set true if you have a heated bed connected to your board, false if not.
| #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000 |
| #define HEATED_BED_HEAT_MANAGER 1 |
Heat manager for heated bed: 0 = Bang Bang, fast update 1 = PID controlled 2 = Bang Bang, limited check every HEATED_BED_SET_INTERVAL. Use this with relay-driven beds to save life time 3 = dead time control
| #define HEATED_BED_HEATER_PIN HEATER_1_PIN |
Pin to enable heater for bed.
| #define HEATED_BED_MAX_TEMP 115 |
| #define HEATED_BED_PID_DGAIN 290 |
Dgain. Overridden if EEPROM activated.
| #define HEATED_BED_PID_IGAIN 33.02 |
I-gain Overridden if EEPROM activated.
| #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255 |
The maximum value, I-gain can contribute to the output. The precise values may differ for different nozzle/resistor combination. Overridden if EEPROM activated.
| #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80 |
lower value for integral part
The I state should converge to the exact heater output needed for the target temperature. To prevent a long deviation from the target zone, this value limits the lower value. A good start is 30 lower then the optimal value. You need to leave room for cooling. Overridden if EEPROM activated.
| #define HEATED_BED_PID_MAX 255 |
| #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME 196 |
P-gain. Overridden if EEPROM activated.
| #define HEATED_BED_PREHEAT_TEMP 55 |
| #define HEATED_BED_SENSOR_PIN TEMP_1_PIN |
Analog pin of analog sensor to read temperature of heated bed.
| #define HEATED_BED_SENSOR_TYPE 1 |
| #define HEATED_BED_SET_INTERVAL 5000 |
| #define HEATER_PWM_SPEED 1 |
| #define HOMING_FEEDRATE_X 80 |
Home position speed in mm/s. Overridden if EEPROM activated.
| #define HOMING_FEEDRATE_Y 80 |
| #define HOMING_FEEDRATE_Z 3 |
| #define HOMING_ORDER HOME_ORDER_ZXY |
Set order of axis homing. Use HOME_ORDER_XYZ and replace XYZ with your order. If you measure Z with your extruder tip you need a hot extruder to get right measurement. In this case set HOME_ORDER_ZXYTZ and also define ZHOME_HEAT_HEIGHT and ZHOME_MIN_TEMPERATURE. It will do first a z home to get some reference, then raise to ZHOME_HEAT_HEIGHT do xy homing and then after heating to minimum ZHOME_MIN_TEMPERATURE will z home again for correct height.
| #define INTERPOLATE_ACCELERATION_WITH_Z 0 |
If you print on a moving bed, it can become more shaky the higher and bigger your print gets. Therefore it might be helpfull to reduce acceleration with increasing print height. You can define here how acceleration should change. You set ACCELERATION_FACTOR_TOP to the factor in percent for the top position of your printer. Acceleration will then be modified linear over height. INTERPOLATE_ACCELERATION_WITH_Z sets, which accelerations get changed: 0 = do not interpolate at all 1 = interpolate x and y acceleration 2 = interpolate z acceleration 3 = interpolate x,y and z acceleration
| #define INVERT_X_DIR true |
| #define INVERT_Y_DIR true |
| #define INVERT_Z_DIR true |
| #define JAM_ACTION 1 |
| #define JAM_ERROR_STEPS 430 |
| #define JAM_METHOD 1 |
| #define JAM_MIN_STEPS 10 |
To prevent signal bouncing, only consider changes if we are this much steps away from last signal change.
| #define JAM_SLOWDOWN_STEPS 380 |
| #define JAM_SLOWDOWN_TO 70 |
| #define JAM_STEPS 220 |
| #define KEEP_ALIVE_INTERVAL 2000 |
If the firmware is busy, it will send a busy signal to host signaling that everything is fine and it only takes a bit longer to finish. That way the host can keep timeout short so in case of communication errors the resulting blobs are much smaller. Set to 0 to disable it.
| #define KILL_IF_SENSOR_DEFECT 0 |
| #define KILL_METHOD 1 |
What shall the printer do, when it receives an M112 emergency stop signal? 0 = Disable heaters/motors, wait forever until someone presses reset. 1 = restart by resetting the AVR controller. The USB connection will not reset if managed by a different chip!
| #define LANGUAGE_CZ_ACTIVE 0 |
| #define LANGUAGE_DE_ACTIVE 1 |
| #define LANGUAGE_EN_ACTIVE 1 |
Select the languages to use. On first startup user can select the language from a menu with activated languages. In Configuration->Language the language can be switched any time. On 8 bit processors do not active all or you run out of text memory (64kb) and strange errors occur. 8-9 languages normally work.
| #define LANGUAGE_ES_ACTIVE 1 |
| #define LANGUAGE_FI_ACTIVE 0 |
| #define LANGUAGE_FR_ACTIVE 1 |
| #define LANGUAGE_IT_ACTIVE 1 |
| #define LANGUAGE_NL_ACTIVE 0 |
| #define LANGUAGE_PL_ACTIVE 1 |
| #define LANGUAGE_PT_ACTIVE 1 |
| #define LANGUAGE_SE_ACTIVE 0 |
| #define LANGUAGE_TR_ACTIVE 1 |
| #define LASER_ON_HIGH 1 |
| #define LASER_PIN -1 |
| #define LASER_PWM_MAX 255 |
| #define LASER_WARMUP_TIME 0 |
| #define LASER_WATT 1.6 |
| #define LOW_TICKS_PER_MOVE 250000 |
Cycles per move, if move cache is low.
This value must be high enough, that the buffer has time to fill up. The problem only occurs at the beginning of a print or if you are printing many very short segments at high speed. Higher delays here allow higher values in PATH_PLANNER_CHECK_SEGMENTS.
| #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000 |
X, Y, Z max acceleration in mm/s^2 for printing moves or retracts. Make sure your printer can go that high! Overridden if EEPROM activated.
| #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000 |
| #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100 |
| #define MAX_DEFECT_TEMPERATURE 300 |
| #define MAX_FEEDRATE_X 200 |
Maximum feedrate, the system allows. Higher feedrates are reduced to these values. The axis order in all axis related arrays is X, Y, Z Overridden if EEPROM activated.
| #define MAX_FEEDRATE_Y 200 |
| #define MAX_FEEDRATE_Z 5 |
| #define MAX_HARDWARE_ENDSTOP_X false |
| #define MAX_HARDWARE_ENDSTOP_Y false |
| #define MAX_HARDWARE_ENDSTOP_Z true |
| #define MAX_INACTIVE_TIME 0L |
After x seconds of inactivity, the system will go down as far it can. It will at least disable all stepper motors and heaters. If the board has a power pin, it will be disabled, too. Set value to 0 for disabled. Overridden if EEPROM activated.
| #define MAX_JERK 20.0 |
Maximum allowable jerk.
Caution: This is no real jerk in a physical meaning.
The jerk determines your start speed and the maximum speed at the join of two segments. Its unit is mm/s. If the printer is standing still, the start speed is jerk/2. At the join of two segments, the speed difference is limited to the jerk value.
Examples: For all examples jerk is assumed as 40.
Segment 1: vx = 50, vy = 0 Segment 2: vx = 0, vy = 50 v_diff = sqrt((50-0)^2+(0-50)^2) = 70.71 v_diff > jerk => vx_1 = vy_2 = jerk/v_diff*vx_1 = 40/70.71*50 = 28.3 mm/s at the join
Segment 1: vx = 50, vy = 0 Segment 2: vx = 35.36, vy = 35.36 v_diff = sqrt((50-35.36)^2+(0-35.36)^2) = 38.27 < jerk Corner can be printed with full speed of 50 mm/s
Overridden if EEPROM activated.
| #define max_software_endstop_r true |
| #define max_software_endstop_x true |
| #define max_software_endstop_y true |
| #define max_software_endstop_z false |
| #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 2000 |
X, Y, Z max acceleration in mm/s^2 for travel moves. Overridden if EEPROM activated.
| #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 2000 |
| #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100 |
| #define MAX_ZJERK 0.3 |
| #define MAXTEMP 260 |
| #define MICRO_STEPS 16 |
Micro stepping rate of X, Y and Y tower stepper drivers.
| #define MICROSTEP_MODES {8,8,8,8,8} |
| #define MILLISECONDS_PREHEAT_TIME 30000 |
| #define MIN_DEFECT_TEMPERATURE -10 |
Extreme values to detect defect thermistors.
| #define MIN_EXTRUDER_TEMP 160 |
| #define MIN_HARDWARE_ENDSTOP_X true |
| #define MIN_HARDWARE_ENDSTOP_Y true |
| #define MIN_HARDWARE_ENDSTOP_Z false |
| #define min_software_endstop_x false |
| #define min_software_endstop_y false |
| #define min_software_endstop_z false |
| #define MIXING_EXTRUDER 0 |
Set to 1 if all extruder motors go to 1 nozzle that mixes your colors.
| #define MOTHERBOARD 33 |
| #define MOTOR_DRIVER_1 | ( | var | ) | StepperDriver<E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, false, false> var(float stepsPerMM,float speed,float maxXPos) |
| #define MOVE_CACHE_LOW 10 |
Low filled cache size.
If the cache contains less then MOVE_CACHE_LOW segments, the time per segment is limited to LOW_TICKS_PER_MOVE clock cycles. If a move would be shorter, the feedrate will be reduced. This should prevent buffer underflows. Set this to 0 if you don't care about empty buffers during print.
| #define NUM_EXTRUDER 1 |
Number of extruders. Maximum 6 extruders.
| #define NUM_MOTOR_DRIVERS 0 |
| #define NUM_TEMPS_USERTHERMISTOR0 28 |
Temperature range for target temperature to hold in M109 command. 5 means +/-5 degC
Uncomment define to force the temperature into the range for given watch period. Userdefined thermistor table
There are many different thermistors, which can be combined with different resistors. This result in unpredictable number of tables. As a resolution, the user can define one table here, that can be used as type 5 for thermistor type in extruder/heated bed definition. Make sure, the number of entries matches the value in NUM_TEMPS_USERTHERMISTOR0. If you span definition over multiple lines, make sure to end each line, except the last, with a backslash. The table format is {{adc1,temp1},{adc2,temp2}...} with increasing adc values. For more informations, read http://hydraraptor.blogspot.com/2007/10/measuring-temperature-easy-way.html
If you have a sprinter temperature table, you have to multiply the first value with 4 and the second with 8. This firmware works with increased precision, so the value reads go from 0 to 4095 and the temperature is temperature*8.
If you have a PTC thermistor instead of a NTC thermistor, keep the adc values increasing and use thermistor types 50-52 instead of 5-7!Number of entries in the user thermistor table 0. Set to 0 to disable it.
| #define NUM_TEMPS_USERTHERMISTOR1 0 |
Number of entries in the user thermistor table 1. Set to 0 to disable it.
| #define NUM_TEMPS_USERTHERMISTOR2 0 |
Number of entries in the user thermistor table 2. Set to 0 to disable it.
| #define PAUSE_END_COMMANDS "" |
| #define PAUSE_START_COMMANDS "" |
| #define PDM_FOR_COOLER 1 |
| #define PDM_FOR_EXTRUDER 1 |
| #define PID_CONTROL_RANGE 20 |
PID control only works target temperature +/- PID_CONTROL_RANGE. If you get much overshoot at the first temperature set, because the heater is going full power too long, you need to increase this value. For one 6.8 Ohm heater 10 is ok. With two 6.8 Ohm heater use 15.
| #define POWER_INVERTING 0 |
If you use an ATX power supply you need the power pin to work non inverting. For some special boards you might need to make it inverting.
| #define PRINTER_RADIUS 124 |
Printer radius in mm, measured from the center of the print area to the vertical smooth tower. Alternately set this to the pivot to pivot horizontal rod distance, when head is at (0,0)
| #define PRINTLINE_CACHE_SIZE 16 |
Number of moves we can cache in advance.
This number of moves can be cached in advance. If you want to cache more, increase this. Especially on many very short moves the cache may go empty. The minimum value is 5.
| #define PULLEY_CIRCUMFERENCE (BELT_PITCH * PULLEY_TEETH) |
| #define PULLEY_TEETH 20 |
Number of teeth on X, Y and Z tower pulleys.
| #define RAISE_Z_ON_TOOLCHANGE 0 |
| #define RAMP_ACCELERATION 1 |
Comment this to disable ramp acceleration
| #define RETRACT_DURING_HEATUP 1 |
If enabled you can select the distance your filament gets retracted during a M140 command, after a given temperature is reached.
| #define RETRACT_ON_PAUSE 2 |
| #define RETRACTION_LENGTH 3 |
| #define RETRACTION_LONG_LENGTH 13 |
| #define RETRACTION_SPEED 40 |
| #define RETRACTION_UNDO_EXTRA_LENGTH 0 |
| #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0 |
| #define RETRACTION_UNDO_SPEED 20 |
| #define RETRACTION_Z_LIFT 0 |
| #define SCALE_PID_TO_MAX 0 |
Set PID scaling.
PID values assume a usable range from 0-255. This can be further limited to EXT0_PID_MAX by to methods. Set the value to 0: Normal computation, just clip output to EXT0_PID_MAX if computed value is too high. Set value to 1: Scale PID by EXT0_PID_MAX/256 and then clip to EXT0_PID_MAX. If your EXT0_PID_MAX is low, you should prefer the second method.
| #define SD_EXTENDED_DIR 1 |
Show extended directory including file length. Don't use this with Pronterface!
| #define SD_RUN_ON_STOP "" |
The GCODEs in this line get executed, when you stop a SD print before it was ended. Separate commands by
| #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1 |
Disable motors and heaters when print was stopped.
| #define SDCARDDETECT -1 |
| #define SDCARDDETECTINVERTED false |
| #define SDSUPPORT false |
Set to false to disable SD support:
| #define SERVO0_NEUTRAL_POS -1 |
| #define SERVO0_PIN 11 |
| #define SERVO1_NEUTRAL_POS -1 |
| #define SERVO1_PIN 6 |
| #define SERVO2_NEUTRAL_POS -1 |
| #define SERVO2_PIN 5 |
| #define SERVO3_NEUTRAL_POS -1 |
| #define SERVO3_PIN 4 |
| #define SHARED_EXTRUDER_HEATER 0 |
| #define SKIP_M109_IF_WITHIN 2 |
Skip wait, if the extruder temperature is already within x degrees. Only fixed numbers, 0 = off
| #define SKIP_M190_IF_WITHIN 3 |
Skip M190 wait, if heated bed is already within x degrees. Fixed numbers only, 0 = off.
| #define STEP_DOUBLER_FREQUENCY 12000 |
The firmware can only handle 16000Hz interrupt frequency cleanly. If you need higher speeds a faster solution is needed, and this is to double/quadruple the steps in one interrupt call. This is like reducing your 1/16th microstepping to 1/8 or 1/4. It is much cheaper then 1 or 3 additional stepper interrupts with all it's overhead. As a result you can go as high as 40000Hz.
| #define STEPPER_HIGH_DELAY 0 |
If your stepper needs a longer high signal then given, you can add a delay here. The delay is realized as a simple loop wasting time, which is not available for other computations. So make it as low as possible. For the most common drivers no delay is needed, as the included delay is already enough.
| #define STEPPER_INACTIVE_TIME 360 |
After x seconds of inactivity, the stepper motors are disabled. Set to 0 to leave them enabled. This helps cooling the Stepper motors between two print jobs. Overridden if EEPROM activated.
| #define STEPS_PER_ROTATION 200 |
Steps per rotation of stepper motor.
| #define SUPPORT_CNC 0 |
| #define SUPPORT_LASER 0 |
| #define UI_AUTORETURN_TO_MENU_AFTER 30000 |
Time to return to info menu if x milliseconds no key was pressed. Set to 0 to disable it.
| #define UI_BED_COATING 0 |
| #define UI_DISABLE_AUTO_PAGESWITCH 1 |
Uncomment if you don't want automatic page switching. You can still switch the info pages with next/previous button/click-encoder
| #define UI_DYNAMIC_ENCODER_SPEED 1 |
If set to 1 faster turning the wheel makes larger jumps. Helps for faster navigation.
| #define UI_ENCODER_SPEED 1 |
| #define UI_KEY_BOUNCETIME 10 |
bounce time of keys in milliseconds
| #define UI_KEY_FIRST_REPEAT 500 |
First time in ms until repeat of action.
| #define UI_KEY_MIN_REPEAT 50 |
Lowest repeat time.
| #define UI_KEY_REDUCE_REPEAT 50 |
Reduction of repeat time until next execution.
| #define UI_PAGES_DURATION 4000 |
For graphic displays you can have a fixed top line. It can also contain dynamic modifiers. Do not define it if you want full 6 rows of data How many ms should a single page be shown, until it is switched to the next one.
| #define UI_PRINTER_COMPANY "Self Made" |
| #define UI_PRINTER_NAME "MyPrinter" |
| #define UI_REVERSE_ENCODER 0 |
| #define UI_SERVO_CONTROL 0 |
Set to servo number +1 to control that servo in ui menu. 0 disables ui control.
| #define UI_SET_EXTRUDER_FEEDRATE 2 |
| #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3 |
| #define UI_SET_MAX_EXTRUDER_TEMP 270 |
| #define UI_SET_MAX_HEATED_BED_TEMP 120 |
| #define UI_SET_MIN_EXTRUDER_TEMP 160 |
| #define UI_SET_MIN_HEATED_BED_TEMP 50 |
| #define UI_SPEEDDEPENDENT_POSITIONING 1 |
| #define UI_START_SCREEN_DELAY 1000 |
Delay of start screen in milliseconds
| #define USE_ADVANCE 1 |
Enable advance algorithm.
Without a correct adjusted advance algorithm, you get blobs at points, where acceleration changes. The effect increases with speed and acceleration difference. Using the advance method decreases this effect. For more informations, read the wiki.
| #define USER_THERMISTORTABLE0 |
| #define USER_THERMISTORTABLE1 {} |
| #define USER_THERMISTORTABLE2 {} |
| #define WAITING_IDENTIFIER "wait" |
Communication errors can swallow part of the ok, which tells the host software to send the next command. Not receiving it will cause your printer to stop. Sending this string every second, if our queue is empty should prevent this. Comment it, if you don't want this feature.
| #define X2_DIR_PIN E1_DIR_PIN |
| #define X2_ENABLE_PIN E1_ENABLE_PIN |
| #define X2_STEP_PIN E1_STEP_PIN |
| #define X2AXIS_STEPS_PER_MM 100 |
| #define X_BACKLASH 0 |
| #define X_ENABLE_ON 0 |
| #define X_HOME_DIR -1 |
| #define X_MAX_LENGTH 165 |
| #define X_MIN_POS 0 |
| #define XAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM |
| #define Y2_DIR_PIN E1_DIR_PIN |
| #define Y2_ENABLE_PIN E1_ENABLE_PIN |
| #define Y2_STEP_PIN E1_STEP_PIN |
| #define Y_BACKLASH 0 |
| #define Y_ENABLE_ON 0 |
| #define Y_HOME_DIR -1 |
| #define Y_MAX_LENGTH 175 |
| #define Y_MIN_POS 0 |
| #define YAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM |
| #define Z2_DIR_PIN E1_DIR_PIN |
| #define Z2_ENABLE_PIN E1_ENABLE_PIN |
| #define Z2_STEP_PIN E1_STEP_PIN |
| #define Z3_DIR_PIN E2_DIR_PIN |
| #define Z3_ENABLE_PIN E2_ENABLE_PIN |
| #define Z3_STEP_PIN E2_STEP_PIN |
| #define Z4_DIR_PIN E2_DIR_PIN |
| #define Z4_ENABLE_PIN E2_ENABLE_PIN |
| #define Z4_STEP_PIN E2_STEP_PIN |
| #define Z_BACKLASH 0 |
| #define Z_ENABLE_ON 0 |
| #define Z_HOME_DIR 1 |
| #define Z_MAX_LENGTH 116.820 |
| #define Z_MIN_POS 0 |
| #define Z_PROBE_BED_DISTANCE 5.0 |
| #define Z_PROBE_DELAY 0 |
Delay before going down. Needed for piezo endstops to reload safely.
| #define Z_PROBE_DISABLE_HEATERS 0 |
| #define Z_PROBE_FINISHED_SCRIPT "" |
| #define Z_PROBE_HEIGHT 39.91 |
Distance between nozzle and bed when probe triggers.
| #define Z_PROBE_MIN_TEMPERATURE 150 |
Minimum extruder temperature for probing. If it is lower, it will be increased to that value.
| #define Z_PROBE_ON_HIGH 1 |
| #define Z_PROBE_PIN 63 |
| #define Z_PROBE_PULLUP 1 |
| #define Z_PROBE_REPETITIONS 5 |
| #define Z_PROBE_REQUIRES_HEATING 0 |
Set 1 if you need a hot extruder for good probe results. Normally only required if nozzle is probe.
| #define Z_PROBE_SPEED 2 |
Speed of z-axis in mm/s when probing
| #define Z_PROBE_START_SCRIPT "" |
These scripts are run before resp. after the z-probe is done. Add here code to activate/deactivate probe if needed.
| #define Z_PROBE_SWITCHING_DISTANCE 1.5 |
| #define Z_PROBE_WAIT_BEFORE_TEST 0 |
| #define Z_PROBE_X1 100 |
| #define Z_PROBE_X2 160 |
| #define Z_PROBE_X3 20 |
| #define Z_PROBE_X_OFFSET 0 |
| #define Z_PROBE_XY_SPEED 150 |
| #define Z_PROBE_Y1 20 |
| #define Z_PROBE_Y2 170 |
| #define Z_PROBE_Y3 170 |
| #define Z_PROBE_Y_OFFSET 0 |
| #define Z_PROBE_Z_OFFSET 0 |
| #define Z_PROBE_Z_OFFSET_MODE 0 |
| #define Z_UP_AFTER_HOME 0 |
| #define ZAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM |
| #define ZHOME_HEAT_ALL 1 |
| #define ZHOME_HEAT_HEIGHT 20 |
| #define ZHOME_MIN_TEMPERATURE 0 |
| #define ZHOME_PRE_RAISE 0 |
| #define ZHOME_PRE_RAISE_DISTANCE 10 |
| #define ZHOME_X_POS IGNORE_COORDINATE |
| #define ZHOME_Y_POS IGNORE_COORDINATE |